package com.syncomponents.remoting.message;

import org.apache.http.HttpHost;

/**
 * HTTP请求实体
 * 
 * @author sunkey
 * @date Jul 18, 2014
 */
public class HttpMessageRequest extends DefaultMessageRequest {

    private HttpHost httpHost;
    /**
     * 路径，不包含ip:port
     */
    private String url;

    private String params;

    private String contentType = "application/xml";

    public HttpHost getHttpHost() {
        return httpHost;
    }

    public void setHttpHost(HttpHost httpHost) {
        this.httpHost = httpHost;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

}
